import http from '@/utils/http.js'

//获取订单详情信息
export const getCheckInfoApi = () => {
  return http.get('/member/order/pre')
}

//创建订单

// 创建订单
export const createOrderApi = (data) => {
  return http({
    url: '/member/order',
    method: 'POST',
    data
  })
}